#!/bin/sh
# host=$1
# list=("124" "122")	
# echo $host
# echo ${list[$host]}
cd ..
killall kens
# make clean
cp etc/ktcp.o src/ktcp.o
# cp etc/kip.o src/kip.o
make
make install
cd src
cd ..
cd test
echo >h0.log
echo >h1.log
echo >h2.log
echo >h3.log
echo "h0"
../bin/kens h0.conf & 
echo "h1"
../bin/kens h1.conf & 
echo "h2"
../bin/kens h2.conf &
echo "h3"
../bin/kens h3.conf &
# gdb ../bin/kens cli.conf
# gdb ../bin/kens svr.conf
# gdb ../bin/kens gw1.conf
# 
./h0s&
./h3c 192.168.1.1:19011
# ./fs&
# ./fc

